<?php
/* @var $this UserController */
/* @var $data User */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id_user')); ?>:</b>
	<?php echo CHtml::encode($data->id_user); ?>
	<br />
        
	<b><?php echo CHtml::encode($data->getAttributeLabel('username')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->username), array('view','id'=>$data->id_user)); ?>
	<br />
        <b><?php echo CHtml::encode($data->getAttributeLabel('avatar')); ?></b>
        <br/>
        <?php echo CHtml::image(Yii::app()->request->baseUrl. '/images/avatar1/' .$data->avatar,"avatar", array("width"=>170,"heigth"=>500)); ?>
        <br/>
        
	<b><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</b>
	<?php echo CHtml::encode($data->email); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('trangthai')); ?>:</b>
	<?php echo CHtml::activeDropDownList($data, 'trangthai', $data->getTrangthai());?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('diachi')); ?>:</b>
	<?php echo CHtml::encode($data->diachi); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('gioitinh')); ?>:</b>
	
        <?php echo CHtml::activeDropDownList($data, 'gioitinh', $data->getGioitinh()); ?>
	<br />

	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('avatar')); ?>:</b>
	<?php echo CHtml::encode($data->avatar); ?>
	<br />

	*/ ?>

</div>